refactor(domain): rename generation to orchestrator, add domain bound… - #76
Open
xiaocheny214 wants to merge 6 commits into
Open
refactor(domain): rename generation to orchestrator, add domain bound…#76xiaocheny214 wants to merge 6 commits into
xiaocheny214 wants to merge 6 commits into
Conversation
…ary docs - Rename server/generation/ to server/orchestrator/ (任务调度) - Update all import references (web/api/generation.py keeps its name) - Update module-split.md with 4-domain structure (foundation/workflow/pipeline/result) - Add domain boundary explanations and rationale - Update product-domains.svg with color coding and domain annotations - Remove unimplemented modules from documentation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
- module-split.md: 新增 workflow(工作流画布)和 agent(懒人智能体)模块定义 - product-domains.svg: 更新架构图,调整模块布局,调用链路为 agent → workflow → orchestrator → ai_engine
- server/workflow/: 领域模型、Pydantic Schema、服务接口 - model.py: CardType/CardStatus/Workflow/CanvasCard/GenerationAttempt - schema.py: 显式定义 CHARACTER/ACTION/EXPORT 卡片输入参数 - interface.py: WorkflowService + CardService 抽象接口 - server/agent/: 领域模型、Pydantic Schema、服务接口 - model.py: AgentSession/AgentMessage/ToolCall/ContentBlock - schema.py: 会话/消息/工具调用请求响应模型 - interface.py: AgentService 抽象接口 - web/api/: API 路由定义 - workflow.py: 9 个工作流画布端点 - agent.py: 5 个智能体端点 - bootstrap/app.py: 注册 workflow_router 和 agent_router
- event_bus.py: 双模式 EventBus(Task/Session),内存发布订阅 - stream.py: Task SSE 端点,推送生成任务进度 - session.py: Agent SSE 端点,推送对话事件 - progress.py: 进度跟踪工具
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…ary docs